package string_test;

public class StringReplace {
    public static void main(String[] args) {
        String str = "helloworld";
        System.out.println(str.replaceAll("l","_"));
        System.out.println(str.replaceFirst("l","_"));
        System.out.println(str);
    }

}
